<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Model_Setting extends CI_Model {
    
    function __construct() {
        parent::__construct();   
    }
    
    public function update_data_adjust($id_member, $id_adjust){
        $alias_member = $this->db->query("select alias_member from member where id_member = ?", array($id_member))->row()->alias_member;
        
        $sql="update data_adjust_poin set alias_member=? where id=?";
        $this->db->query($sql,array($alias_member,$id_adjust));
    }
}
